package com.googlecode.gxtmvp.data.client;

import com.extjs.gxt.ui.client.data.BaseModelData;

public class MyModelData extends BaseModelData {
  
  private static final long serialVersionUID = 5301452141756523117L;
  private final String toStringProperty;
  
  public MyModelData(final String toStringProperty) {
    this.toStringProperty = toStringProperty;
  }
  
  @Override
  public String toString() {
    return get(toStringProperty);
  }
}
